﻿using shopsoft.models.ClassBase;
using shopsoft.models.EnumObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shopsoft.models
{
    /// <summary>
    /// 权限类型
    /// </summary>
    [Serializable]
    public class PermissionType : DelFlagFields
    {
        private EPermissionType _EPermissionType;

        /// <summary>
        /// 权限类型
        /// </summary>
        public EPermissionType EPermissionType
        {
            get { return _EPermissionType; }
            set
            {
                _EPermissionType = value;
                ID = (int)_EPermissionType;
            }
        }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionTypeName { get; set; }
    }
}
